IAFS_File Interface

From PDF XChange PDF SDK
Revision as of 03:57, 11 January 2016 by Palamar (Talk | contribs)

Jump to: navigation, search


The interface of object of PDF-XChange Editor SDK.

Methods

Clone GetPos IsCloneOf SetPos
Close GetSize Read SetSize
Exec GetStream Reopen Write
Flush

Properties

IoMode Name OpenFlags Prop

Sample

//C#
PDFXEdit.IAFS_Inst fsInst = (PDFXEdit.IAFS_Inst)pdfCtl.Inst.GetExtension("AFS"); //Getting IAFS_Inst from IPXV_Inst
PDFXEdit.IAFS_Name destPath = fsInst.DefaultFileSys.StringToName("D:\\TestImage.png"); //Converting string to name
PDFXEdit.IAFS_File file = fsInst.DefaultFileSys.OpenFile(destPath, 0); //Opening file by name

See Also

IAFS_FileSys::OpenFile, IAFS_Inst::CopyFile2, IAFS_Inst::CopyFileToStream, IAFS_Inst::CopyStreamToFile, IAFS_FileCachesMap::CheckForReopenFile, IAFS_FileCachesMap::CreateNewCache, IAFS_FileCachesMap::OnDisposeFileObj, IAFS_FileCacheEntry::Item, IPXC_EmbeddedFileStream::SaveToFile, IPXC_EmbeddedFileStream::UpdateFromFile, IPXC_Sound::SaveToFile, IPXC_Sound::UpdateFromFile, IPXC_StampsCollection::AddStamp, IPXC_StampsCollection::AddStamps, IPXC_StampsManager::LoadCollection, IUIX_Inst::CreateImageFromFile, IPXV_Inst::FindDocBySrcFile