VCOM:VectorWorks:Filing:IStdFile::OpenReadWrite: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (1 revision) |
(No difference)
|
Latest revision as of 14:58, 12 August 2013
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks::Filing
Member of VCOM:VectorWorks:Filing:IStdFile
Open file for reading and writing.
virtual VCOMError VCOM_CALLTYPE OpenReadWrite(
IFileIdentifier* pFileID,
bool bRandomAccess,
bool bTruncateExisting) = 0;
Parameters
pFileID IFileIdentifier* File identifier for the file that is to be opened. bRandomAccess bool true if the instance should support random access to the file; false if it will be read from top to bottom. bTruncateExisting bool If the file exist then it will be cleared before writing if this is true; if false it will leave the file as is;
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the fuction. kVCOMError_Failed Routine failed.
See Also
VCOM:VectorWorks:Filing:IFolderIdentifier | VCOM:VectorWorks:Filing:IFileIdentifier | VCOM:VectorWorks:Filing:IStdFile
[[VCOM:VectorWorks:Filing:IFolderIdentifier]] | [[VCOM:VectorWorks:Filing:IFileIdentifier]] | [[VCOM:VectorWorks:Filing:IStdFile]]