Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ViewPerspective Property
See Also 
Leadtools Namespace > RasterPaintDibInfo Class : ViewPerspective Property



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);
}

Return Value

See the 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also