Current bounds of the view in physical (in control pixel) coordinates.
publicvirtualLeadRectDGetViewBounds(
boolwithPadding,
boolclipped
)
PublicOverridableFunctionGetViewBounds(
ByValwithPaddingAsBoolean,
ByValclippedAsBoolean
)AsLeadRectD
public:
virtualLeadRectD^ GetViewBounds(
boolwithPadding,
boolclipped
)
withPadding
trueto include the value ofViewPaddingwhen calculating the value, otherwise;false.
clipped
trueto intersect the returned value with the current viewer control rectangle, otherwise;false.
The view bounds in pixels orLeadRectD.Emptyif the viewer does not have any items or if the view does not intersect with the control rectangle.
The view consists of all current the items in the viewer plus any padding (set inViewPadding). This is the area that the viewer use to determine whether horizontal and vertical scrollbars are needed and to calculate their size and position.
The view area is calculated duringUpdateTransform. The currentViewLayoutdetermines where each item is placed and calculates their sizes. The total of these sizes is calculated and multiplied by any scale factor (XScaleFactorandYScaleFactor) set by theZoommethod. The final size is the view area.
During the calculations, the viewer will calculate the transformation matrix used when rendering the view. This matrix contains the current padding, scroll offset and scale factors and stored inViewTransform. For example, to render the view border, the viewer simply draws the value ofGetViewBoundstransformed withViewTransform.
For more information, refer to即时通讯age Viewer Appearance,即时通讯age Viewer Transformation, and即时通讯age Viewer Bounds and Transform.
For an example, refer toRedirectRender.
Help Collections
Raster.NET|C API|C++ Class Library|HTML5 JavaScript
Document.NET|C API|C++ Class Library|HTML5 JavaScript
Medical.NET|C API|C++ Class Library|HTML5 JavaScript
Medical Web Viewer.NET
188宝金博怎么下载
Media Foundation.NET|C API|Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
即时通讯aging, Medical, and Document
C API/C++ Class Libraries
即时通讯aging, Medical, and Document
HTML5 JavaScript Libraries
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.