GdPicture.NET Reference Guide
GifOpenMultiFrameForWrite Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : GifOpenMultiFrameForWrite Method
True to load the multiframe gif images for reading and writing, else False to open them as read-only.
This method controls the way of multiframe gif image loading. By default, the class loads multiframe gif images in read-write mode through the following methods: CreateGdPictureImageFromByteArray CreateGdPictureImageFromFile CreateGdPictureImageFromStream CreateGdPictureImageFromString CreateGdPictureImageFromFTP CreateGdPictureImageFromHTTP If you want to open multiframe gif images as read-only, you should this method using False for the WriteAccess parameter.
Syntax
'Declaration
 
Public Sub GifOpenMultiFrameForWrite( _
   ByVal WriteAccess As Boolean _
) 
public void GifOpenMultiFrameForWrite( 
   bool WriteAccess
)
public procedure GifOpenMultiFrameForWrite( 
    WriteAccess: Boolean
); 
public function GifOpenMultiFrameForWrite( 
   WriteAccess : boolean
);
public: void GifOpenMultiFrameForWrite( 
   bool WriteAccess
) 
public:
void GifOpenMultiFrameForWrite( 
   bool WriteAccess
) 

Parameters

WriteAccess
True to load the multiframe gif images for reading and writing, else False to open them as read-only.
Example
Openning a Multiframe Image for either writing or reading-only, the following code assumes a MultiFrame image is already loaded
m_Stat = GifOpenMultiFrameForWrite(True)'Opens an image for Writing and Reading
m_Stat = GifOpenMultiFrameForWrite(False)'Opens an image for reading-only
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members