Property | Type | Description | |
---|---|---|---|
Clamp | int | ||
DefineViewSize | void | ||
GetImageSize | |||
GetZoomLevel | int | ||
InitializeGridTile | void | ||
OnFrameChangedHandler | void | ||
PerformActualSize | void | ||
PerformZoom | void | ||
PerformZoom | void | ||
PerformZoomIn | void | ||
PerformZoomOut | void | ||
ScrollBarScrollHandler | void | ||
SetZoom | void | ||
ShouldShowScrollbar | bool | ||
UpdateScrollbars | void |
Method | Description | |
---|---|---|
ActualSize ( ) : void |
Resets the zoom to 100%.
|
|
BeginUpdate ( ) : void |
Disables any redrawing of the image box
|
|
CenterAt ( Point imageLocation ) : void |
Centers the given point in the image in the center of the control
|
|
CenterAt ( float x, float y ) : void |
Centers the given point in the image in the center of the control
|
|
CenterAt ( int x, int y ) : void |
Centers the given point in the image in the center of the control
|
|
CenterToImage ( ) : void |
Resets the viewport to show the center of the image.
|
|
CreateCheckerBoxTile ( ) : |
Creates a checked tile texture using default values.
|
|
CreateCheckerBoxTile ( int cellSize, Color cellColor, Color alternateCellColor ) : |
Creates a bitmap image containing a 2x2 grid using the specified cell size and colors.
|
|
EndUpdate ( ) : void |
Enables the redrawing of the image box
|
|
FitRectangle ( |
Fits a given T:System.Drawing.Rectangle to match image boundaries
|
|
FitRectangle ( |
Fits a given T:System.Drawing.RectangleF to match image boundaries
|
|
GetImageViewPort ( ) : |
Gets the image view port.
|
|
GetInsideViewPort ( ) : |
Gets the inside view port, excluding any padding.
|
|
GetInsideViewPort ( bool includePadding ) : |
Gets the inside view port.
|
|
GetOffsetPoint ( Point source ) : Point |
Returns the source T:System.Drawing.Point repositioned to include the current image offset and scaled by the current zoom level
|
|
GetOffsetPoint ( int x, int y ) : Point |
Returns the source co-ordinates repositioned to include the current image offset and scaled by the current zoom level
|
|
GetOffsetPoint ( |
Returns the source T:System.Drawing.PointF repositioned to include the current image offset and scaled by the current zoom level
|
|
GetOffsetPoint ( float x, float y ) : |
Returns the source co-ordinates repositioned to include the current image offset and scaled by the current zoom level
|
|
GetOffsetRectangle ( |
Returns the source T:System.Drawing.Rectangle scaled according to the current zoom level and repositioned to include the current image offset
|
|
GetOffsetRectangle ( int x, int y, int width, int height ) : |
Returns the source rectangle scaled according to the current zoom level and repositioned to include the current image offset
|
|
GetOffsetRectangle ( |
Returns the source T:System.Drawing.RectangleF scaled according to the current zoom level and repositioned to include the current image offset
|
|
GetOffsetRectangle ( float x, float y, float width, float height ) : |
Returns the source rectangle scaled according to the current zoom level and repositioned to include the current image offset
|
|
GetPreferredSize ( |
Retrieves the size of a rectangular area into which a control can be fitted.
|
|
GetScaledPoint ( Point source ) : Point |
Returns the source T:System.Drawing.Point scaled according to the current zoom level
|
|
GetScaledPoint ( int x, int y ) : Point |
Returns the source T:System.Drawing.Point scaled according to the current zoom level
|
|
GetScaledPoint ( |
Returns the source T:System.Drawing.PointF scaled according to the current zoom level
|
|
GetScaledPoint ( float x, float y ) : |
Returns the source T:System.Drawing.Point scaled according to the current zoom level
|
|
GetScaledRectangle ( Point location, |
Returns the source rectangle scaled according to the current zoom level
|
|
GetScaledRectangle ( |
Returns the source T:System.Drawing.Rectangle scaled according to the current zoom level
|
|
GetScaledRectangle ( int x, int y, int width, int height ) : |
Returns the source rectangle scaled according to the current zoom level
|
|
GetScaledRectangle ( |
Returns the source rectangle scaled according to the current zoom level
|
|
GetScaledRectangle ( |
Returns the source T:System.Drawing.RectangleF scaled according to the current zoom level
|
|
GetScaledRectangle ( float x, float y, float width, float height ) : |
Returns the source rectangle scaled according to the current zoom level
|
|
GetScaledSize ( |
Returns the source T:System.Drawing.Size scaled according to the current zoom level
|
|
GetScaledSize ( int width, int height ) : |
Returns the source size scaled according to the current zoom level
|
|
GetScaledSize ( |
Returns the source T:System.Drawing.SizeF scaled according to the current zoom level
|
|
GetScaledSize ( float width, float height ) : |
Returns the source size scaled according to the current zoom level
|
|
GetSelectedImage ( ) : Image |
Creates an image based on the current selection region The caller is responsible for disposing of the returned image |
|
GetSourceImageRegion ( ) : |
Gets the source image region.
|
|
ImageBox ( ) : System |
Initializes a new instance of the ImageBox class.
|
|
IsPointInImage ( Point point ) : bool |
Determines whether the specified point is located within the image view port
|
|
IsPointInImage ( float x, float y ) : bool |
Determines whether the specified point is located within the image view port
|
|
IsPointInImage ( int x, int y ) : bool |
Determines whether the specified point is located within the image view port
|
|
PointToImage ( Point point ) : Point |
Converts the given client size point to represent a coordinate on the source image.
|
|
PointToImage ( Point point, bool fitToBounds ) : Point |
Converts the given client size point to represent a coordinate on the source image.
|
|
PointToImage ( float x, float y ) : Point |
Converts the given client size point to represent a coordinate on the source image.
|
|
PointToImage ( float x, float y, bool fitToBounds ) : Point |
Converts the given client size point to represent a coordinate on the source image.
|
|
PointToImage ( int x, int y ) : Point |
Converts the given client size point to represent a coordinate on the source image.
|
|
PointToImage ( int x, int y, bool fitToBounds ) : Point |
Converts the given client size point to represent a coordinate on the source image.
|
|
ScrollTo ( Point imageLocation, Point relativeDisplayPoint ) : void |
Scrolls the control to the given point in the image, offset at the specified display point
|
|
ScrollTo ( float x, float y, float relativeX, float relativeY ) : void |
Scrolls the control to the given point in the image, offset at the specified display point
|
|
ScrollTo ( int x, int y, int relativeX, int relativeY ) : void |
Scrolls the control to the given point in the image, offset at the specified display point
|
|
SelectAll ( ) : void |
Creates a selection region which encompasses the entire image
|
|
SelectNone ( ) : void |
Clears any existing selection region
|
|
StartAnimating ( ) : void |
Stop animating
|
|
StopAnimating ( ) : void |
Start animating
|
|
ZoomAuto ( ) : void |
[PHAP] Zooms to the maximum size for displaying the entire image within the bounds of the control. If image size is smaller than viewer size, keep its original size.
|
|
ZoomIn ( ) : void |
Zooms into the image
|
|
ZoomIn ( bool preservePosition ) : void |
Zooms into the image
|
|
ZoomOut ( ) : void |
Zooms out of the image
|
|
ZoomOut ( bool preservePosition ) : void |
Zooms out of the image
|
|
ZoomToFit ( ) : void |
Zooms to the maximum size for displaying the entire image within the bounds of the control.
|
|
ZoomToRegion ( |
Adjusts the view port to fit the given region
|
|
ZoomToRegion ( float x, float y, float width, float height ) : void |
Adjusts the view port to fit the given region
|
|
ZoomToRegion ( int x, int y, int width, int height ) : void |
Adjusts the view port to fit the given region
|
Method | Description | |
---|---|---|
AdjustLayout ( ) : void |
Adjusts the layout.
|
|
AdjustScroll ( int x, int y ) : void |
Adjusts the scroll.
|
|
AdjustSize ( ) : void |
Adjusts the size.
|
|
AdjustViewPort ( ) : void |
Adjusts the view port.
|
|
CreateGridTileImage ( int cellSize, Color firstColor, Color secondColor ) : |
Creates the grid tile image.
|
|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
DrawBackground ( PaintEventArgs e ) : void |
Draws the background of the control.
|
|
DrawDropShadow ( |
Draws a drop shadow.
|
|
DrawGlowShadow ( |
Draws a glow shadow.
|
|
DrawImage ( |
Draws the image.
|
|
DrawImageBorder ( |
Draws a border around the image.
|
|
DrawLabel ( |
Draws the specified text within the specified bounds using the specified device context, font, color, back color, and formatting instructions.
|
|
DrawLabel ( |
Draws the specified text within the specified bounds using the specified device context, font, color, back color, and formatting instructions.
|
|
DrawLabel ( |
Draws the specified text within the specified bounds using the specified device context, font, color, back color, and formatting instructions.
|
|
DrawLabel ( |
Draws the specified text within the specified bounds using the specified device context, font, color, and back color.
|
|
DrawLabel ( |
Draws the specified text within the specified bounds using the specified device context, font, and color.
|
|
DrawLabel ( |
Draws the specified text within the specified bounds using the specified device context and font.
|
|
DrawLabel ( |
Draws the specified text within the specified bounds using the specified device context.
|
|
DrawPixelGrid ( |
Draws a pixel grid.
|
|
DrawSelection ( PaintEventArgs e ) : void |
Draws the selection region.
|
|
DrawText ( PaintEventArgs e ) : void |
Draws the text.
|
|
EndDrag ( ) : void |
Completes an ongoing selection or drag operation.
|
|
GetImageBorderOffset ( ) : int |
Gets an offset based on the current image border style.
|
|
GetInterpolationMode ( ) : InterpolationMode |
Determines a suitable interpolation mode based in the value of the InterpolationMode and Zoom properties.
|
|
IsInputKey ( Keys keyData ) : bool |
Determines whether the specified key is a regular input key or a special key that requires preprocessing.
|
|
OnAllowClickZoomChanged ( |
Raises the AllowClickZoomChanged event.
|
|
OnAllowDoubleClickChanged ( |
Raises the AllowDoubleClickChanged event.
|
|
OnAllowUnfocusedMouseWheelChanged ( |
Raises the AllowUnfocusedMouseWheelChanged event.
|
|
OnAllowZoomChanged ( |
Raises the AllowZoomChanged event.
|
|
OnAutoCenterChanged ( |
Raises the AutoCenterChanged event.
|
|
OnAutoPanChanged ( |
Raises the AutoPanChanged event.
|
|
OnBackColorChanged ( |
Raises the System.Windows.Forms.Control.BackColorChanged event.
|
|
OnBorderStyleChanged ( |
Raises the BorderStyleChanged event.
|
|
OnDockChanged ( |
Raises the System.Windows.Forms.Control.DockChanged event.
|
|
OnDropShadowSizeChanged ( |
Raises the DropShadowSizeChanged event.
|
|
OnFontChanged ( |
Raises the E:System.Windows.Forms.Control.FontChanged event.
|
|
OnForeColorChanged ( |
Raises the E:System.Windows.Forms.Control.ForeColorChanged event.
|
|
OnGridCellSizeChanged ( |
Raises the GridCellSizeChanged event.
|
|
OnGridColorAlternateChanged ( |
Raises the GridColorAlternateChanged event.
|
|
OnGridColorChanged ( |
Raises the GridColorChanged event.
|
|
OnGridDisplayModeChanged ( |
Raises the GridDisplayModeChanged event.
|
|
OnGridScaleChanged ( |
Raises the GridScaleChanged event.
|
|
OnHorizontalScrollBarStyleChanged ( |
Raises the HorizontalScrollBarStyleChanged event.
|
|
OnImageBorderColorChanged ( |
Raises the ImageBorderColorChanged event.
|
|
OnImageBorderStyleChanged ( |
Raises the ImageBorderStyleChanged event.
|
|
OnImageChanged ( |
Raises the ImageChanged event.
|
|
OnInterpolationModeChanged ( |
Raises the InterpolationModeChanged event.
|
|
OnInvertMouseChanged ( |
Raises the InvertMouseChanged event.
|
|
OnKeyDown ( |
Raises the System.Windows.Forms.Control.KeyDown event.
|
|
OnLimitSelectionToImageChanged ( |
Raises the LimitSelectionToImageChanged event.
|
|
OnMouseDown ( MouseEventArgs e ) : void |
Raises the System.Windows.Forms.Control.MouseDown event.
|
|
OnMouseMove ( MouseEventArgs e ) : void |
Raises the System.Windows.Forms.Control.MouseMove event.
|
|
OnMouseUp ( MouseEventArgs e ) : void |
Raises the System.Windows.Forms.Control.MouseUp event.
|
|
OnMouseWheel ( MouseEventArgs e ) : void |
Raises the System.Windows.Forms.Control.MouseWheel event.
|
|
OnPaddingChanged ( |
Raises the System.Windows.Forms.Control.PaddingChanged event.
|
|
OnPaint ( PaintEventArgs e ) : void |
Raises the System.Windows.Forms.Control.Paint event.
|
|
OnPanEnd ( |
Raises the PanEnd event.
|
|
OnPanStart ( CancelEventArgs e ) : void |
Raises the PanStart event.
|
|
OnParentChanged ( |
Raises the System.Windows.Forms.Control.ParentChanged event.
|
|
OnPixelGridColorChanged ( |
Raises the PixelGridColorChanged event.
|
|
OnPixelGridThresholdChanged ( |
Raises the PixelGridThresholdChanged event.
|
|
OnResize ( |
Raises the System.Windows.Forms.Control.Resize event.
|
|
OnScaleTextChanged ( |
Raises the ScaleTextChanged event.
|
|
OnScroll ( |
Raises the Scroll event.
|
|
OnSelected ( |
Raises the Selected event.
|
|
OnSelecting ( |
Raises the Selecting event.
|
|
OnSelectionColorChanged ( |
Raises the SelectionColorChanged event.
|
|
OnSelectionModeChanged ( |
Raises the SelectionModeChanged event.
|
|
OnSelectionRegionChanged ( |
Raises the SelectionRegionChanged event.
|
|
OnShortcutsEnabledChanged ( |
Raises the ShortcutsEnabledChanged event.
|
|
OnShowPixelGridChanged ( |
Raises the ShowPixelGridChanged event.
|
|
OnSizeModeChanged ( |
Raises the SizeModeChanged event.
|
|
OnSizeToFitChanged ( |
Raises the SizeToFitChanged event.
|
|
OnTextAlignChanged ( |
Raises the TextAlignChanged event.
|
|
OnTextBackColorChanged ( |
Raises the TextBackColorChanged event.
|
|
OnTextChanged ( |
Raises the E:System.Windows.Forms.Control.TextChanged event.
|
|
OnTextDisplayModeChanged ( |
Raises the TextDisplayModeChanged event.
|
|
OnTextPaddingChanged ( |
Raises the TextPaddingChanged event.
|
|
OnVerticalScrollBarStyleChanged ( |
Raises the VerticalScrollBarStyleChanged event.
|
|
OnVirtualDraw ( PaintEventArgs e ) : void |
Raises the VirtualDraw event.
|
|
OnVirtualModeChanged ( |
Raises the VirtualModeChanged event.
|
|
OnVirtualSizeChanged ( |
Raises the VirtualSizeChanged event.
|
|
OnZoomChanged ( |
Raises the ZoomChanged event.
|
|
OnZoomLevelsChanged ( |
Raises the ZoomLevelsChanged event.
|
|
OnZoomed ( |
Raises the Zoomed event.
|
|
ProcessImageShortcuts ( |
Processes shortcut keys for zooming and selection
|
|
ProcessMouseZoom ( bool isZoomIn, Point cursorPosition ) : void |
Processes zooming with the mouse. Attempts to keep the pre-zoom image pixel under the mouse after the zoom has completed.
|
|
ProcessPanning ( MouseEventArgs e ) : void |
Performs mouse based panning
|
|
ProcessScrollingShortcuts ( |
Processes shortcut keys for scrolling
|
|
ProcessSelection ( MouseEventArgs e ) : void |
Performs mouse based region selection
|
|
RestoreSizeMode ( ) : void |
Resets the SizeMode property whilsts retaining the original Zoom.
|
|
Scale ( int value ) : int |
Scales the specified integer according to the current zoom factor.
|
|
StartDrag ( MouseEventArgs e ) : void |
Initializes a selection or drag operation.
|
|
UpdateScrollPosition ( Point position ) : void |
Updates the scroll position.
|
Method | Description | |
---|---|---|
Clamp ( int value, int min, int max ) : int |
Clamps the specified value within the given range.
|
|
DefineViewSize ( ) : void |
Defines the view sized based on the current image and if the control is operating in virtual mode or not
|
|
GetImageSize ( ) : |
Gets the size of the image. If an error occurs, for example due to the image being disposed, an empty size is returned |
|
GetZoomLevel ( ImageBoxZoomActions action ) : int |
Returns an appropriate zoom level based on the specified action, relative to the current zoom level.
|
|
InitializeGridTile ( ) : void |
Initializes the grid tile.
|
|
OnFrameChangedHandler ( object sender, |
Called when the animation frame changes.
|
|
PerformActualSize ( ImageBoxActionSources source ) : void |
Resets the zoom to 100%.
|
|
PerformZoom ( ImageBoxZoomActions action, ImageBoxActionSources source, bool preservePosition ) : void |
Performs a zoom action.
|
|
PerformZoom ( ImageBoxZoomActions action, ImageBoxActionSources source, bool preservePosition, Point relativePoint ) : void |
Performs a zoom action.
|
|
PerformZoomIn ( ImageBoxActionSources source, bool preservePosition ) : void |
Zooms into the image
|
|
PerformZoomOut ( ImageBoxActionSources source, bool preservePosition ) : void |
Zooms out of the image
|
|
ScrollBarScrollHandler ( object sender, |
Handles the Scroll event of the embedded horizontal and vertical scroll bar controls.
|
|
SetZoom ( int value, ImageBoxZoomActions actions, ImageBoxActionSources source ) : void |
Updates the current zoom.
|
|
ShouldShowScrollbar ( ImageBoxScrollBarStyle style, bool visible ) : bool |
Determines if a scroll bar should be displayed.
|
|
UpdateScrollbars ( ) : void |
Updates all properties of the embedded scroll bar controls.
|
protected AdjustScroll ( int x, int y ) : void | ||
x | int | The x. |
y | int | The y. |
return | void |
public CenterAt ( Point imageLocation ) : void | ||
imageLocation | Point | The point of the image to attempt to center. |
return | void |
public CenterAt ( float x, float y ) : void | ||
x | float | The X co-ordinate of the point to center. |
y | float | The Y co-ordinate of the point to center. |
return | void |
public CenterAt ( int x, int y ) : void | ||
x | int | The X co-ordinate of the point to center. |
y | int | The Y co-ordinate of the point to center. |
return | void |
public static CreateCheckerBoxTile ( ) : |
||
return |
public static CreateCheckerBoxTile ( int cellSize, Color cellColor, Color alternateCellColor ) : |
||
cellSize | int | Size of the cell. |
cellColor | Color | Cell color. |
alternateCellColor | Color | Alternate cell color. |
return |
protected CreateGridTileImage ( int cellSize, Color firstColor, Color secondColor ) : |
||
cellSize | int | Size of the cell. |
firstColor | Color | The first color. |
secondColor | Color | Color of the second. |
return |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected DrawBackground ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | The |
return | void |
protected DrawDropShadow ( |
||
g | The graphics. | |
viewPort | The view port. | |
return | void |
protected DrawGlowShadow ( |
||
g | The graphics. | |
viewPort | The view port. | |
return | void |
protected DrawImage ( |
||
g | The g. | |
return | void |
protected DrawImageBorder ( |
||
graphics | The graphics. | |
return | void |
protected DrawLabel ( |
||
graphics | The device context in which to draw the text. | |
text | string | The text to draw. |
font | The |
|
foreColor | Color | The |
backColor | Color | The |
textAlign | ContentAlignment | The |
bounds | The |
|
return | void |
protected DrawLabel ( |
||
graphics | The device context in which to draw the text. | |
text | string | The text to draw. |
font | The |
|
foreColor | Color | The |
backColor | Color | The |
textAlign | ContentAlignment | The |
bounds | The |
|
scaleText | bool | If set to |
return | void |
protected DrawLabel ( |
||
graphics | The device context in which to draw the text. | |
text | string | The text to draw. |
font | The |
|
foreColor | Color | The |
backColor | Color | The |
textAlign | ContentAlignment | The |
bounds | The |
|
scaleText | bool | If set to |
padding | Padding | Padding to apply around the text |
return | void |
protected DrawLabel ( |
||
graphics | The device context in which to draw the text. | |
text | string | The text to draw. |
font | The |
|
foreColor | Color | The |
backColor | Color | The |
bounds | The |
|
return | void |
protected DrawLabel ( |
||
graphics | The device context in which to draw the text. | |
text | string | The text to draw. |
font | The |
|
foreColor | Color | The |
bounds | The |
|
return | void |
protected DrawLabel ( |
||
graphics | The device context in which to draw the text. | |
text | string | The text to draw. |
font | The |
|
bounds | The |
|
return | void |
protected DrawLabel ( |
||
graphics | The device context in which to draw the text. | |
text | string | The text to draw. |
bounds | The |
|
return | void |
protected DrawPixelGrid ( |
||
g | The graphics to draw the grid to. | |
return | void |
protected DrawSelection ( PaintEventArgs e ) : void | ||
e | PaintEventArgs |
/// The |
return | void |
protected DrawText ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | The |
return | void |
public FitRectangle ( |
||
rectangle | The rectangle. | |
return |
public FitRectangle ( |
||
rectangle | The rectangle. | |
return |
public GetImageViewPort ( ) : |
||
return |
public GetInsideViewPort ( ) : |
||
return |
public GetInsideViewPort ( bool includePadding ) : |
||
includePadding | bool |
/// if set to |
return |
protected GetInterpolationMode ( ) : InterpolationMode | ||
return | InterpolationMode |
public GetOffsetPoint ( Point source ) : Point | ||
source | Point | The source |
return | Point |
public GetOffsetPoint ( int x, int y ) : Point | ||
x | int | The source X co-ordinate. |
y | int | The source Y co-ordinate. |
return | Point |
public GetOffsetPoint ( |
||
source | The source |
|
return |
public GetOffsetPoint ( float x, float y ) : |
||
x | float | The source X co-ordinate. |
y | float | The source Y co-ordinate. |
return |
public GetOffsetRectangle ( |
||
source | The source |
|
return |
public GetOffsetRectangle ( int x, int y, int width, int height ) : |
||
x | int | The X co-ordinate of the source rectangle. |
y | int | The Y co-ordinate of the source rectangle. |
width | int | The width of the rectangle. |
height | int | The height of the rectangle. |
return |
public GetOffsetRectangle ( |
||
source | The source |
|
return |
public GetOffsetRectangle ( float x, float y, float width, float height ) : |
||
x | float | The X co-ordinate of the source rectangle. |
y | float | The Y co-ordinate of the source rectangle. |
width | float | The width of the rectangle. |
height | float | The height of the rectangle. |
return |
public GetPreferredSize ( |
||
proposedSize | The custom-sized area for a control. | |
return |
public GetScaledPoint ( Point source ) : Point | ||
source | Point | The source |
return | Point |
public GetScaledPoint ( int x, int y ) : Point | ||
x | int | The X co-ordinate of the point to scale. |
y | int | The Y co-ordinate of the point to scale. |
return | Point |
public GetScaledPoint ( |
||
source | The source |
|
return |
public GetScaledPoint ( float x, float y ) : |
||
x | float | The X co-ordinate of the point to scale. |
y | float | The Y co-ordinate of the point to scale. |
return |
public GetScaledRectangle ( Point location, |
||
location | Point | The location of the source rectangle. |
size | The size of the source rectangle. | |
return |
public GetScaledRectangle ( |
||
source | The source |
|
return |
public GetScaledRectangle ( int x, int y, int width, int height ) : |
||
x | int | The X co-ordinate of the source rectangle. |
y | int | The Y co-ordinate of the source rectangle. |
width | int | The width of the rectangle. |
height | int | The height of the rectangle. |
return |
public GetScaledRectangle ( |
||
location | The location of the source rectangle. | |
size | The size of the source rectangle. | |
return |
public GetScaledRectangle ( |
||
source | The source |
|
return |
public GetScaledRectangle ( float x, float y, float width, float height ) : |
||
x | float | The X co-ordinate of the source rectangle. |
y | float | The Y co-ordinate of the source rectangle. |
width | float | The width of the rectangle. |
height | float | The height of the rectangle. |
return |
public GetScaledSize ( |
||
source | The source |
|
return |
public GetScaledSize ( int width, int height ) : |
||
width | int | The width of the size to scale. |
height | int | The height of the size to scale. |
return |
public GetScaledSize ( |
||
source | The source |
|
return |
public GetScaledSize ( float width, float height ) : |
||
width | float | The width of the size to scale. |
height | float | The height of the size to scale. |
return |
public GetSourceImageRegion ( ) : |
||
return |
protected IsInputKey ( Keys keyData ) : bool | ||
keyData | Keys |
/// One of the |
return | bool |
public IsPointInImage ( Point point ) : bool | ||
point | Point | The point. |
return | bool |
public IsPointInImage ( float x, float y ) : bool | ||
x | float | The X co-ordinate of the point to check. |
y | float | The Y co-ordinate of the point to check. |
return | bool |
public IsPointInImage ( int x, int y ) : bool | ||
x | int | The X co-ordinate of the point to check. |
y | int | The Y co-ordinate of the point to check. |
return | bool |
protected OnAllowClickZoomChanged ( |
||
e |
/// The |
|
return | void |
protected OnAllowDoubleClickChanged ( |
||
e |
/// The |
|
return | void |
protected OnAllowUnfocusedMouseWheelChanged ( |
||
e | The |
|
return | void |
protected OnAllowZoomChanged ( |
||
e |
/// The |
|
return | void |
protected OnAutoCenterChanged ( |
||
e |
/// The |
|
return | void |
protected OnAutoPanChanged ( |
||
e |
/// The |
|
return | void |
protected OnBackColorChanged ( |
||
e |
/// An |
|
return | void |
protected OnBorderStyleChanged ( |
||
e |
/// An |
|
return | void |
protected OnDockChanged ( |
||
e |
/// An |
|
return | void |
protected OnDropShadowSizeChanged ( |
||
e |
/// The |
|
return | void |
protected OnFontChanged ( |
||
e | An |
|
return | void |
protected OnForeColorChanged ( |
||
e | An |
|
return | void |
protected OnGridCellSizeChanged ( |
||
e |
/// The |
|
return | void |
protected OnGridColorAlternateChanged ( |
||
e |
/// The |
|
return | void |
protected OnGridColorChanged ( |
||
e |
/// The |
|
return | void |
protected OnGridDisplayModeChanged ( |
||
e |
/// The |
|
return | void |
protected OnGridScaleChanged ( |
||
e |
/// The |
|
return | void |
protected OnHorizontalScrollBarStyleChanged ( |
||
e | The |
|
return | void |
protected OnImageBorderColorChanged ( |
||
e |
/// The |
|
return | void |
protected OnImageBorderStyleChanged ( |
||
e |
/// The |
|
return | void |
protected OnImageChanged ( |
||
e |
/// The |
|
return | void |
protected OnInterpolationModeChanged ( |
||
e |
/// The |
|
return | void |
protected OnInvertMouseChanged ( |
||
e |
/// The |
|
return | void |
protected OnKeyDown ( |
||
e |
/// A |
|
return | void |
protected OnLimitSelectionToImageChanged ( |
||
e |
/// The |
|
return | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs |
/// A |
return | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs |
/// A |
return | void |
protected OnMouseUp ( MouseEventArgs e ) : void | ||
e | MouseEventArgs |
/// A |
return | void |
protected OnMouseWheel ( MouseEventArgs e ) : void | ||
e | MouseEventArgs |
/// A |
return | void |
protected OnPaddingChanged ( |
||
e |
/// An |
|
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs |
/// A |
return | void |
protected OnPanEnd ( |
||
e |
/// The |
|
return | void |
protected OnPanStart ( CancelEventArgs e ) : void | ||
e | CancelEventArgs |
/// The |
return | void |
protected OnParentChanged ( |
||
e |
/// An |
|
return | void |
protected OnPixelGridColorChanged ( |
||
e |
/// The |
|
return | void |
protected OnPixelGridThresholdChanged ( |
||
e | The |
|
return | void |
protected OnResize ( |
||
e |
/// An |
|
return | void |
protected OnScaleTextChanged ( |
||
e | The |
|
return | void |
protected OnScroll ( |
||
e |
/// The |
|
return | void |
protected OnSelected ( |
||
e |
/// The |
|
return | void |
protected OnSelecting ( |
||
e |
/// The |
|
return | void |
protected OnSelectionColorChanged ( |
||
e |
/// The |
|
return | void |
protected OnSelectionModeChanged ( |
||
e |
/// The |
|
return | void |
protected OnSelectionRegionChanged ( |
||
e |
/// The |
|
return | void |
protected OnShortcutsEnabledChanged ( |
||
e |
/// The |
|
return | void |
protected OnShowPixelGridChanged ( |
||
e |
/// The |
|
return | void |
protected OnSizeModeChanged ( |
||
e | The |
|
return | void |
protected OnSizeToFitChanged ( |
||
e |
/// The |
|
return | void |
protected OnTextAlignChanged ( |
||
e | The |
|
return | void |
protected OnTextBackColorChanged ( |
||
e | The |
|
return | void |
protected OnTextChanged ( |
||
e | An |
|
return | void |
protected OnTextDisplayModeChanged ( |
||
e | The |
|
return | void |
protected OnTextPaddingChanged ( |
||
e | The |
|
return | void |
protected OnVerticalScrollBarStyleChanged ( |
||
e | The |
|
return | void |
protected OnVirtualDraw ( PaintEventArgs e ) : void | ||
e | PaintEventArgs |
/// The |
return | void |
protected OnVirtualModeChanged ( |
||
e |
/// The |
|
return | void |
protected OnVirtualSizeChanged ( |
||
e |
/// The |
|
return | void |
protected OnZoomChanged ( |
||
e |
/// The |
|
return | void |
protected OnZoomLevelsChanged ( |
||
e |
/// The |
|
return | void |
protected OnZoomed ( |
||
e | The |
|
return | void |
public PointToImage ( Point point ) : Point | ||
point | Point | The source point. |
return | Point |
public PointToImage ( Point point, bool fitToBounds ) : Point | ||
point | Point | The source point. |
fitToBounds | bool |
/// if set to |
return | Point |
public PointToImage ( float x, float y ) : Point | ||
x | float | The X co-ordinate of the point to convert. |
y | float | The Y co-ordinate of the point to convert. |
return | Point |
public PointToImage ( float x, float y, bool fitToBounds ) : Point | ||
x | float | The X co-ordinate of the point to convert. |
y | float | The Y co-ordinate of the point to convert. |
fitToBounds | bool |
/// if set to |
return | Point |
public PointToImage ( int x, int y ) : Point | ||
x | int | The X co-ordinate of the point to convert. |
y | int | The Y co-ordinate of the point to convert. |
return | Point |
public PointToImage ( int x, int y, bool fitToBounds ) : Point | ||
x | int | The X co-ordinate of the point to convert. |
y | int | The Y co-ordinate of the point to convert. |
fitToBounds | bool |
/// if set to |
return | Point |
protected ProcessImageShortcuts ( |
||
e |
/// The |
|
return | void |
protected ProcessMouseZoom ( bool isZoomIn, Point cursorPosition ) : void | ||
isZoomIn | bool |
/// if set to |
cursorPosition | Point | The cursor position. |
return | void |
protected ProcessPanning ( MouseEventArgs e ) : void | ||
e | MouseEventArgs |
/// The |
return | void |
protected ProcessScrollingShortcuts ( |
||
e |
/// The |
|
return | void |
protected ProcessSelection ( MouseEventArgs e ) : void | ||
e | MouseEventArgs |
/// The |
return | void |
protected Scale ( int value ) : int | ||
value | int | The value to scale. |
return | int |
public ScrollTo ( Point imageLocation, Point relativeDisplayPoint ) : void | ||
imageLocation | Point | The point of the image to attempt to scroll to. |
relativeDisplayPoint | Point | The relative display point to offset scrolling by. |
return | void |
public ScrollTo ( float x, float y, float relativeX, float relativeY ) : void | ||
x | float | The X co-ordinate of the point to scroll to. |
y | float | The Y co-ordinate of the point to scroll to. |
relativeX | float | The X co-ordinate relative to the |
relativeY | float | The Y co-ordinate relative to the |
return | void |
public ScrollTo ( int x, int y, int relativeX, int relativeY ) : void | ||
x | int | The X co-ordinate of the point to scroll to. |
y | int | The Y co-ordinate of the point to scroll to. |
relativeX | int | The X co-ordinate relative to the |
relativeY | int | The Y co-ordinate relative to the |
return | void |
protected StartDrag ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | The |
return | void |
protected UpdateScrollPosition ( Point position ) : void | ||
position | Point | The position. |
return | void |
public ZoomIn ( bool preservePosition ) : void | ||
preservePosition | bool | |
return | void |
public ZoomOut ( bool preservePosition ) : void | ||
preservePosition | bool | |
return | void |
public ZoomToRegion ( |
||
rectangle | The rectangle to fit the view port to. | |
return | void |
public ZoomToRegion ( float x, float y, float width, float height ) : void | ||
x | float | The X co-ordinate of the selection region. |
y | float | The Y co-ordinate of the selection region. |
width | float | The width of the selection region. |
height | float | The height of the selection region. |
return | void |
public ZoomToRegion ( int x, int y, int width, int height ) : void | ||
x | int | The X co-ordinate of the selection region. |
y | int | The Y co-ordinate of the selection region. |
width | int | The width of the selection region. |
height | int | The height of the selection region. |
return | void |