Zooms or changes the size mode of the view. Re-calculates the transformation matrices and update the view layout. Un-syncs all members of the sync group of the given sync ID. Removes a single viewer from the sync group. Translates an item horizontally or vertically a given amount of pixels regardless of the current zoom value. Scrolls the viewer by the specified amount in pixels while always restricting the value to the current minimum and maximum allowed. Scrolls the viewer by the specified amount in pixels. Resets the display properties to their default values (single item mode).Įnsures a scroll position is inside the minimum and maximum scroll value currently allowed. ![]() Render the content of the viewer to an external context. Gets a value that indicates whether the specified item or part is currently visible in the viewer.ĭetermines if syncing for a group has been disabled. Invalidate the item at the specified index. Invalidates a portion of the entire surface of the control and causes the control to be redrawn. Items that intersect with a rectangle in physical (in viewer pixel) coordinates. Specific part of the item under a physical (in viewer pixel) coordinates. Scroll to the top-left of an item giving its index.įirst item that has its floater under a physical (in viewer pixel) coordinates.įirst item that is under a physical (in viewer pixel) coordinates. Returns a list of all ImageViewer instances that match the given sync.Ĭurrent bounds of the view in physical (in control pixel) coordinates. Utility method to calculate the scale factor needed to perform the specified size mode using a source and destination size. Index for the last visible item or part of it in the viewer. Last visible item or part of it in the viewer. Index for the largest visible item or part of it in the viewer. Largest visible item or part of it in the viewer. Transformation matrix of the image of an item with or without DPI scaling.Ĭurrent physical (in control pixel coordinates) bounds of any part of an item. Transformation matrix of the image of an item. Transformation matrix of the image of an item without rounded values. Transformation matrix of the floater of an item. Transformation matrix of the content of an item. Transformation matrix of the image with or without DPI scaling (single item mode).Ĭurrent logical (excluding the current transformation) bounds of any part of an item. Index for the first visible item or part of it in the viewer. ![]() Utility method to adjust the given LeadRectD based on source size, size mode and alignmentįirst visible item or part of it in the viewer. Gets an array of all the visible ImageViewerItems for the specified ImageViewerItemPart. Gets the item nearest to the specified physical (in viewer pixel) coordinates. ![]() Instructs the viewer that updates are completed and updating the transformation matrices, view layout and rendering of content can be resumed.Įnsures that the specified rectangle area is visible in the viewer.Įnsures that an item is visible in the viewer.Įnsures that the item at the specified index is visible in the viewer. Instructs the viewer that updates are completed and updating transformations and view layout can be resumed. Indicates that updates are completed and rendering of content can be resumed on the specified item. Instructs the viewer that updates are completed and rendering of content can be resumed. Temporarily disable syncing for a group while keeping the group itself intact. This is useful to increase the control's speed efficiency.Ĭenters the view display at the specified point.Ĭombines the floaters with the images for all items inside this ImageViewer.Ĭonverts a rectangle value from logical (excluding the current transformation) to physical (in control pixel coordinates).Ĭonverts a LeadPointD from one coordinates to the other.Ĭonverts an array of LeadPoint from one coordinates to the other.Ĭonverts a LeadRectD from one coordinates to the other.Ĭonverts a transformation matrix relative to one item to another. Stops the viewer from updating the transformation matrices, view layout and rendering the content if any change is applied. This is useful to increase the control's speed efficiency. Stops the viewer from updating the transformation matrices and updating the view layout. Stops the viewer from rendering the content if any change is applied. Initializes a new ImageViewer with the specified layout The following tables list the members exposed by ImageViewer.
0 Comments
Leave a Reply. |