Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Factory Class
Properties Methods Events

In This Topic
    Factory Class Members
    In This Topic

    The following tables list the members exposed by Factory.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Factory class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets a value indicating whether this instance is disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public PropertyGet a pointer to the underlying Cpp Object (Inherited from GrapeCity.Documents.DX.CppObject)
    Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from GrapeCity.Documents.DX.CppObject)
    Top
    Public Methods
     NameDescription
    Public MethodHRESULT ID2D1Factory::CreateDCRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1DCRenderTarget** dcRenderTarget)  
    Public MethodHRESULT ID2D1Factory::CreateDrawingStateBlock([In, Optional] const D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription,[In, Optional] IDWriteRenderingParams* textRenderingParams,[Out, Fast] ID2D1DrawingStateBlock** drawingStateBlock)  
    Public MethodHRESULT ID2D1Factory::CreateDxgiSurfaceRenderTarget([In] IDXGISurface* dxgiSurface,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget)  
    Public MethodHRESULT ID2D1Factory::CreateEllipseGeometry([In] const D2D1_ELLIPSE* ellipse,[Out, Fast] ID2D1EllipseGeometry** ellipseGeometry)  
    Public MethodOverloaded. HRESULT ID2D1Factory::CreateGeometryGroup([In] D2D1_FILL_MODE fillMode,[In, Buffer] ID2D1Geometry** geometries,[In] unsigned int geometriesCount,[Out, Fast] ID2D1GeometryGroup** geometryGroup)  
    Public MethodHRESULT ID2D1Factory::CreateHwndRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[In] const D2D1_HWND_RENDER_TARGET_PROPERTIES* hwndRenderTargetProperties,[Out, Fast] ID2D1HwndRenderTarget** hwndRenderTarget)  
    Public MethodHRESULT ID2D1Factory::CreatePathGeometry([Out, Fast] ID2D1PathGeometry** pathGeometry)  
    Public MethodHRESULT ID2D1Factory::CreateRectangleGeometry([In] const D2D_RECT_F* rectangle,[Out, Fast] ID2D1RectangleGeometry** rectangleGeometry)  
    Public MethodHRESULT ID2D1Factory::CreateRoundedRectangleGeometry([In] const D2D1_ROUNDED_RECT* roundedRectangle,[Out, Fast] ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)  
    Public MethodOverloaded. HRESULT ID2D1Factory::CreateStrokeStyle([In] const D2D1_STROKE_STYLE_PROPERTIES* strokeStyleProperties,[In, Buffer, Optional] const float* dashes,[In] unsigned int dashesCount,[Out, Fast] ID2D1StrokeStyle** strokeStyle)  
    Public MethodHRESULT ID2D1Factory::CreateTransformedGeometry([In] ID2D1Geometry* sourceGeometry,[In] const D2D_MATRIX_3X2_F* transform,[Out, Fast] ID2D1TransformedGeometry** transformedGeometry)  
    Public MethodHRESULT ID2D1Factory::CreateWicBitmapRenderTarget([In] IWICBitmap* target,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget)  
    Public MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public Methodvoid ID2D1Factory::GetDesktopDpi([Out] float* dpiX,[Out] float* dpiY)  
    Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from GrapeCity.Documents.DX.ComObject)
    Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from GrapeCity.Documents.DX.ComObject)
    Public MethodHRESULT ID2D1Factory::ReloadSystemMetrics()  
    Top
    Public Events
     NameDescription
    Public EventOccurs when this instance is fully disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public EventOccurs when this instance is starting to be disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Top
    Public Operators
    Performs an explicit conversion from System.IntPtr to Factory.
    Top
    See Also