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

In This Topic
    Factory2 Class Members
    In This Topic

    The following tables list the members exposed by Factory2.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Factory2 class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets a value indicating whether this instance is disposed. (Inherited from GrapeCity.Documents.DX.DisposeBase)
    Public PropertyGets a value indicating if Direct2D is supported on this platform. (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public PropertyGet a pointer to the underlying Cpp Object (Inherited from GrapeCity.Documents.DX.CppObject)
    Public PropertyGet the effects registered (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    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 Methodstatic (Shared in Visual Basic)Creates a new instance of the Factory2 class with the specified FactoryType.  
    Public MethodHRESULT ID2D1Factory::CreateDCRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1DCRenderTarget** dcRenderTarget) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory1::CreateDevice([In] IDXGIDevice* dxgiDevice,[Out, Fast] ID2D1Device** d2dDevice) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodHRESULT ID2D1Factory2::CreateDevice([In] IDXGIDevice* dxgiDevice,[Out, Fast] ID2D1Device1** d2dDevice1)  
    Public MethodHRESULT ID2D1Factory::CreateDrawingStateBlock([In, Optional] const D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription,[In, Optional] IDWriteRenderingParams* textRenderingParams,[Out, Fast] ID2D1DrawingStateBlock** drawingStateBlock) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory1::CreateDrawingStateBlock([In, Optional] const D2D1_DRAWING_STATE_DESCRIPTION1* drawingStateDescription,[In, Optional] IDWriteRenderingParams* textRenderingParams,[Out, Fast] ID2D1DrawingStateBlock1** drawingStateBlock) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodHRESULT ID2D1Factory::CreateDxgiSurfaceRenderTarget([In] IDXGISurface* dxgiSurface,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory::CreateEllipseGeometry([In] const D2D1_ELLIPSE* ellipse,[Out, Fast] ID2D1EllipseGeometry** ellipseGeometry) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodCreates a new GdiMetafile object that you can use to replay metafile content. (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodOverloaded. HRESULT ID2D1Factory::CreateGeometryGroup([In] D2D1_FILL_MODE fillMode,[In, Buffer] ID2D1Geometry** geometries,[In] unsigned int geometriesCount,[Out, Fast] ID2D1GeometryGroup** geometryGroup) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory::CreateHwndRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[In] const D2D1_HWND_RENDER_TARGET_PROPERTIES* hwndRenderTargetProperties,[Out, Fast] ID2D1HwndRenderTarget** hwndRenderTarget) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory::CreatePathGeometry([Out, Fast] ID2D1PathGeometry** pathGeometry) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory1::CreatePathGeometry([Out, Fast] ID2D1PathGeometry1** pathGeometry) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodHRESULT ID2D1Factory::CreateRectangleGeometry([In] const D2D_RECT_F* rectangle,[Out, Fast] ID2D1RectangleGeometry** rectangleGeometry) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory::CreateRoundedRectangleGeometry([In] const D2D1_ROUNDED_RECT* roundedRectangle,[Out, Fast] ID2D1RoundedRectangleGeometry** roundedRectangleGeometry) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    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) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodOverloaded. HRESULT ID2D1Factory1::CreateStrokeStyle([In] const D2D1_STROKE_STYLE_PROPERTIES1* strokeStyleProperties,[In, Buffer, Optional] const float* dashes,[In] unsigned int dashesCount,[Out, Fast] ID2D1StrokeStyle1** strokeStyle) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodHRESULT ID2D1Factory::CreateTransformedGeometry([In] ID2D1Geometry* sourceGeometry,[In] const D2D_MATRIX_3X2_F* transform,[Out, Fast] ID2D1TransformedGeometry** transformedGeometry) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory::CreateWicBitmapRenderTarget([In] IWICBitmap* target,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    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) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodHRESULT ID2D1Factory1::GetEffectProperties([In] const GUID& effectId,[Out] ID2D1Properties** properties) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodHRESULT ID2D1Factory1::GetRegisteredEffects([Out, Buffer, Optional] GUID* effects,[In] unsigned int effectsCount,[Out, Optional] unsigned int* effectsReturned,[Out, Optional] unsigned int* effectsRegistered) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    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 MethodOverloaded. Register a ICustomEffect factory. (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodHRESULT ID2D1Factory1::RegisterEffectFromString([In] const GUID& classId,[In] const wchar_t* propertyXml,[In, Buffer, Optional] const D2D1_PROPERTY_BINDING* bindings,[In] unsigned int bindingsCount,[In] const __function__stdcall* effectFactory) (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    Public MethodHRESULT ID2D1Factory::ReloadSystemMetrics() (Inherited from GrapeCity.Documents.DX.Direct2D.Factory)
    Public MethodOverloaded. Unregister a ICustomEffect. (Inherited from GrapeCity.Documents.DX.Direct2D.Factory1)
    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 Factory2.
    Top
    See Also