VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Wpf.UI Namespace / WpfPdfContentXObjectTool Class / SetXObjectResource(PdfContentXObject,PdfResource) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetXObjectResource(PdfContentXObject,PdfResource) Method (WpfPdfContentXObjectTool)
    In This Topic
    Sets the resource of content XObject.
    Syntax

    Parameters

    xObject
    The content XObject, which should be changed.
    resource
    The resource, which should be in xObject.
    Exceptions
    ExceptionDescription
    Thrown if XObjects does not contain xObject.
    Thrown if resource is not PdfImageResource and is not PdfFormXObjectResource.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also