LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ViewPerspective Property
See Also 



Indicates the expected orientation of the image data.

Syntax

Visual Basic (Declaration) 
Public Property ViewPerspective As RasterViewPerspective
Visual Basic (Usage)Copy Code
Dim instance As RasterPaintDibInfo
Dim value As RasterViewPerspective
 
instance.ViewPerspective = value
 
value = instance.ViewPerspective
C# 
public RasterViewPerspective ViewPerspective {get; set;}
C++/CLI 
public:
property RasterViewPerspective ViewPerspective {
   RasterViewPerspective get();
   void set (    RasterViewPerspective value);
}

Property Value

See the Leadtools.RasterViewPerspective enumeration for possible values.

Example

For an example, refer to RasterPaintDibInfo.

Remarks

You will most likely have to pass RasterViewPerspective.TopLeft or RasterViewPerspective.BottomLeft for this value.

Regular GDI functions expect the data to be upside-down (RasterViewPerspective.BottomLeft), but some cards want data to be in the more logical top-down order (RasterViewPerspective.TopLeft).

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also