Current graphics context associated with this object. For Windows Forms the type of this property is System.Drawing.Graphics
. For WPF the type of this property is System.Windows.Media.DrawingContext
.
public Graphics Context { get; }
Public ReadOnly Property Context() As System.Drawing.Graphics
Get
public:
property System::Drawing::Graphics^ Context
{
System::Drawing::Graphics^ get()
}
The graphics context associated with this object if any.
For Windows Forms (Leadtools.Controls.WinForms.dll), the type of this property is System.Drawing.Graphics. This property returns the value of System.Windows.Forms.PaintEventArgs.Graphics of PaintEventArgs. If the value of PaintEventArgs is null, then this property will return null as well.
For WPF (Leadtools.Controls.Wpf.dll), the type of this property is System.Windows.Media.DrawingContext.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document