Accusoft.ImagXpress13.Net
ClipRectangle Property




Gets and sets the rectangular portion of the image that is accessible to the viewer.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
<DescriptionAttribute("Selects the clipping rectangle for the image.")>
<BrowsableAttribute(True)>
<DefaultValueAttribute()>
Public Property ClipRectangle As Rectangle
'Usage
 
Dim instance As ImageXView
Dim value As Rectangle
 
instance.ClipRectangle = value
 
value = instance.ClipRectangle
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[DescriptionAttribute("Selects the clipping rectangle for the image.")]
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
public Rectangle ClipRectangle {get; set;}
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[DescriptionAttribute("Selects the clipping rectangle for the image.")]
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
public: __property Rectangle get_ClipRectangle();
public: __property void set_ClipRectangle( 
   Rectangle value
);
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[DescriptionAttribute("Selects the clipping rectangle for the image.")]
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
public:
property Rectangle ClipRectangle {
   Rectangle get();
   void set (    Rectangle value);
}

Property Value

A System.Drawing.Rectangle area set.
Remarks

The default value is 0,0,0,0.

If the ClipRectangle is smaller than the image, then the viewed image is cropped to the dimensions specified by this property. This cropped image is then available in the viewer to be zoomed, scrolled, ect.

Note: There is no impact to the ImageX object - the image remains unchanged. Only the displayed image is cropped.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback