D2DSurface Class

Summary
Represents a DirectX drawing surface.
Syntax
C#
C++/CLI
public sealed class D2DSurface : ContentControl, IDisposable 
public ref class D2DSurface sealed : public System.Windows.Controls.ContentControl  
Remarks

The D2DSurface class provides methods for drawing objects on a DirectX device. This class cannot be inherited.

You can draw many different shapes and lines by using a D2DSurface object and calling methods such as the following methods:

Draw images by calling the DrawImage(RasterImage,Rect,Double) method.

Before performing any drawing operations you must call the BeginDraw method. After all drawing operations have finished you must call the EndDraw method. The EndDraw method causes any batched drawing operations to complete, and then returns true to indicate the operations were successful.

Requirements

Target Platforms

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

Leadtools.Windows.D2DRendering Assembly

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