VintaSoft Imaging .NET SDK 11.0
Vintasoft.Imaging.Pdf.Content Namespace / PdfContentGraphicsFigureEditor Class / ReplaceResource Method
The figure.
The XObject resource to replace.



In This Topic
    ReplaceResource Method (PdfContentGraphicsFigureEditor)
    In This Topic
    Replaces the XObject resource (image or form) of specified content graphics figure.
    Syntax
    'Declaration
     
    Public Sub ReplaceResource( _
       ByVal figure As ContentStreamGraphicsFigure, _
       ByVal resource As PdfResource _
    ) 
    public void ReplaceResource( 
       ContentStreamGraphicsFigure figure,
       PdfResource resource
    )
    public: void ReplaceResource( 
       ContentStreamGraphicsFigure* figure,
       PdfResource* resource
    ) 
    public:
    void ReplaceResource( 
       ContentStreamGraphicsFigure^ figure,
       PdfResource^ resource
    ) 

    Parameters

    figure
    The figure.
    resource
    The XObject resource to replace.
    Requirements

    Target Platforms: .NET 6; .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also