←Select platform

ApplyViewPerspective Method

Summary

Rotates and/or flips this SvgDocument.

Syntax
C#
VB
C++
public void ApplyViewPerspective( 
   RasterViewPerspective viewPerspective, 
   bool apply 
) 
Public Sub ApplyViewPerspective( 
   ByVal viewPerspective As RasterViewPerspective, 
   ByVal apply As Boolean 
) 
public:  
   void ApplyViewPerspective( 
      RasterViewPerspective^ viewPerspective, 
      bool apply 
   ) 

Parameters

viewPerspective

The rotate and/or flip value to apply.

apply

true to apply the rotate and/or flip value specified in viewPerspective, otherwise; false to apply the operations in the reverse order.

Remarks

Use this method to quickly rotate and/or flip an SVG document. The following table lists the values of viewPerspective and how it will affect the SVG document. Note that all rotation and/or flipping is performed around the SVG center.

View perspective Value of apply Result
TopLeft true No change
TopLeft false No change
BottomLeft true Flipped vertically then horizontally
BottomLeft false Flipped horizontally then vertically
TopRight true Flipped horizontally
TopRight false Flipped horizontally
BottomRight true Flipped vertically
BottomRight false Flipped vertically
RightTop true Rotated clockwise by 90 degrees
RightTop false Rotated clockwise by -90 degrees
LeftBottom true Rotate clockwise by 270 degrees
LeftBottom false Rotate clockwise by -270 degrees
LeftTop true Flipped vertically then horizontally then rotated clockwise by 90 degrees
LeftTop false Rotated clockwise by 90 degrees then flipped horizontally then flipped vertically
RightBottom true Flipped vertically then horizontally then rotated clockwise by 270 degrees
RightBottom false Rotated clockwise by 270 degrees then flipped horizontally then flipped vertically

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly