VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.FormRecognition.Formatters Namespace / FormFieldTemplateXmlFormatter Class / Serialize(Stream,Object) Method
Syntax Exceptions Requirements SeeAlso
    Serialize(Stream,Object) Method (FormFieldTemplateXmlFormatter)
    Serializes a FormPageTemplate or FormDocumentTemplate object to the provided stream.
    Syntax
    'Declaration
    
    Public Overrides Sub Serialize( _
    ByVal serializationStream
    The stream where the formatter puts the serialized data.
    As System.IO.Stream, _
    ByVal graph
    The FormPageTemplate or FormDocumentTemplate object to serialize. All form field templates of FormPageTemplate object are automatically serialized.
    As System.Object _
    )
     

    Parameters

    serializationStream
    The stream where the formatter puts the serialized data.
    graph
    The FormPageTemplate or FormDocumentTemplate object to serialize. All form field templates of FormPageTemplate object are automatically serialized.
    Exceptions
    ExceptionDescription
    Thrown if serializationStream or graph is null.
    Thrown if formatter does not support serialization of provided type.
    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