Discuss this help topic in SecureBlackbox Forum

TElOfficePackage.CreatePart

TElOfficePackage     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Creates a new package part.

Declaration

[C#/Java]
    TElOfficePackagePart CreatePart(string URI, string ContentType);
    TElOfficePackagePart CreatePart(string URI, string ContentType, ulong ExpectedStreamSize);

[VB.NET]
    Function CreatePart(ByVal URI As String, ByVal ContentType As String) As TElOfficePackagePart
    Function CreatePart(ByVal URI As String, ByVal ContentType As String, ByVal ExpectedStreamSize As Long) As TElOfficePackagePart

[Pascal]
    function CreatePart(const URI, ContentType : string) : TElOfficePackagePart;
    function CreatePart(const URI, ContentType : string; ExpectedStreamSize : UInt64) : TElOfficePackagePart;

[C++]
    TElOfficePackagePartHandle CreatePart(const std::string &URI, const std::string &ContentType);
    TElOfficePackagePartHandle CreatePart(const std::string &URI, const std::string &ContentType, uint64_t ExpectedStreamSize);

[PHP]
    TElOfficePackagePart CreatePart(string $URI, string $ContentType)
    TElOfficePackagePart CreatePart(string $URI, string $ContentType, integer $ExpectedStreamSize)

Parameters

  • URI - URI of the package part
  • ContentType - content type of the package part
  • ExpectedStreamSize - expected size of the stream needed to hold the package part

Return value

    Returns a reference to the newly created package part object.

Description

    Use this method to create a new package part.

See also:     DeletePart     GetPart     Parts    

Discuss this help topic in SecureBlackbox Forum