Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
Geometry Property
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewerElement Class : Geometry Property





Gets or sets a Geometry to be drawn on the BitmapSourceViewerElement. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property Geometry As Geometry
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewerElement
Dim value As Geometry
 
instance.Geometry = value
 
value = instance.Geometry
C# 
public Geometry Geometry {get; set;}
Managed Extensions for C++ 
public: __property Geometry get_Geometry();
public: __property void set_Geometry( 
   Geometry value
);
C++/CLI 
public:
property Geometry Geometry {
   Geometry get();
   void set (Geometry value);
}
XAML 
For XAML information, see the Geometry type.

Dependency Property Information 

Identifier field

GeometryProperty

Metadata properties set to true

AffectsRender

Return Value

The geometry value for the BitmapSourceViewerElement. The default value is a null.

Example

For XAML example, refer to BitmapEffect.

For C#/VB examples, refer to BitmapEffect.

Remarks

if the Geometry property is not null the BitmapEffect will be applied to this Geometry only.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also