LEADTOOLS Workflow (Leadtools.Workflow.Raster assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SaveMode Property
See Also 
Leadtools.Workflow.Raster Namespace > SaveImageActivity Class : SaveMode Property



The SaveMode Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value that determines how to handle the page when saving to multipage formats.

Syntax

Visual Basic (Declaration) 
Public Property SaveMode As CodecsSavePageMode
Visual Basic (Usage)Copy Code
Dim instance As SaveImageActivity
Dim value As CodecsSavePageMode
 
instance.SaveMode = value
 
value = instance.SaveMode
C# 
public CodecsSavePageMode SaveMode {get; set;}
C++/CLI 
public:
property CodecsSavePageMode SaveMode {
   CodecsSavePageMode get();
   void set (    CodecsSavePageMode value);
}

Property Value

A value that determines how to handle the page when saving to multipage formats.

Remarks

Values for this property can be one of the following:

Value Meaning
CodecsSavePageMode.Append Append the new page(s) to the end of the file. If the file does not exist, this option will create the file and add the pages to it. firstSavePageNumber is not used.
CodecsSavePageMode.Insert Insert the new page(s) at the index specified by firstSavePageNumber.
CodecsSavePageMode.Replace Replace the page(s) starting at the index specified by firstSavePageNumber.
CodecsSavePageMode.Overwrite Overwrite the page(s) starting at the index specified by firstSavePageNumber.
CodecsSavePageMode.Append Append the new page(s) to the end of the file. If the file does not exist, this option will create the file and add the pages to it.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Workflow.Raster requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features