←Select platform

Context Property

Summary
Gets the destination graphics context object to use when rendering the annotation objects.
Syntax
C#
C++/CLI
public Graphics Context { get; } 
public:  
   property Graphics^ Context 
   { 
      Graphics^ get() 
   } 

Property Value

The destination graphics context object to use when rendering and the annotation objects. The default value is null.

Remarks

The Windows Forms ImageViewerAutomationControl (in <INSTALLDIR>\Examples\Annotation\DotNet\Annotations.WinForms) object creates an instance of AnnWinFormsRenderingEngine and uses it to create an automated annotation user interface tied with the LEADTOOLS ImageViewer control.

The property value is set to the context of the custom annotation graphics created by ImageViewerAutomationControl.

Requirements

Target Platforms

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

Leadtools.Annotations.Rendering.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.