VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging.Pdf.UI.Panels Namespace / WebUiPdfImageResourceExtractionPanelJS type / set_ContentImageDescriptionCallback Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
    set_ContentImageDescriptionCallback Method
    In This Topic
    Sets a function, which returns description for WebContentImageJS object.
    Syntax
    var instance = new Vintasoft.Imaging.Pdf.UI.Panels.WebUiPdfImageResourceExtractionPanelJS(settings, stateButton);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: function
    
    returnValue = instance.set_ContentImageDescriptionCallback(value);
    
    
    function set_ContentImageDescriptionCallback(
    value
    A function, which returns description for WebContentImageJS object, OR "null".
    Here is function prototype "function __getDescriptionForContentImage(contentImage)", where "contentImage" parameter is an instance of WebContentImageJS type. Important: "__getDescriptionForContentImage" function must return string which contains description of content image.
    : Function
    ) : any;

    Parameters

    value
    A function, which returns description for WebContentImageJS object, OR "null".
    Here is function prototype "function __getDescriptionForContentImage(contentImage)", where "contentImage" parameter is an instance of WebContentImageJS type. Important: "__getDescriptionForContentImage" function must return string which contains description of content image.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Remarks

    If property value is "null", description for the content image has the following representation:
    "#{resource.get_ObjectNumber()}, {imageSize.width}x{imageSize.height}px, Compression={resource.get_Compression()}, {resource.get_Length()} bytes;", where resource = contentImage.get_Resource() and imageSize = resource.get_Size().

    Browser Compatibility
    56+
    45+
    11
    See Also