VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.FileAttachments Namespace / PdfAttachmentFolder Class / EncodeFileImmediately Property
Syntax Remarks Requirements SeeAlso
In This Topic
    EncodeFileImmediately Property (PdfAttachmentFolder)
    In This Topic
    Gets or sets a value indicating whether added file must be encoded immediately and stored in memory.
    Syntax
    'Declaration
    
    <BrowsableAttribute(False)>
    Public Property EncodeFileImmediately As Boolean
    
    
    [Browsable(False)]
    public bool EncodeFileImmediately { get; set; }
    
    
    [Browsable(False)]
    public: __property bool get_EncodeFileImmediately();
    public: __property void set_EncodeFileImmediately(
    bool value
    );
    [Browsable(False)]
    public:
    property bool EncodeFileImmediately { bool get(); void set(bool value); }

    Property Value

    True - added file must be encoded immediately and stored in memory, file stream will be closed after file encoding;
    false - added file must be encoded when document is saved or packed, file stream will be closed after document saving or packing.
    Default value is true.
    Remarks

    This property is not storing in PDF document.

    Requirements

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

    See Also