TCustomXmlPart.Create Method
Overloads
- TCustomXmlPart.Create
- TCustomXmlPart.Create(string, TArray<string>)
- TCustomXmlPart.Create(TGUID, string, TArray<string>)
TCustomXmlPart.Create
Creates a new TCustomXmlPart. It will set the Id to a random GUID.
Syntax
Unit: FlexCel.Core
class function TCustomXmlPart.Create: TCustomXmlPart; static; overload;
See also
TCustomXmlPart.Create(string, TArray<string>)
Creates a new TCustomXmlParts with a random Id and the given xml and schemas.
Syntax
Unit: FlexCel.Core
class function TCustomXmlPart.Create(const aXml: string; const aSchemas: TArray<string>): TCustomXmlPart; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aXml | string | Xml of the custom part. |
const | aSchemas | TArray<string> | List of schemas for the custom part. Leave it null or empty if there a no schemas. Note that the array will be copied, so you can modify it after setting it and it won't change the Xml part. |
See also
TCustomXmlPart.Create(TGUID, string, TArray<string>)
Creates a new TCustomXmlParts the given Id, xml and schemas.
Syntax
Unit: FlexCel.Core
class function TCustomXmlPart.Create(const aId: TGUID; const aXml: string; const aSchemas: TArray<string>): TCustomXmlPart; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aId | TGUID | Guid for the part. Make sure this is unique. |
const | aXml | string | Xml of the custom part. |
const | aSchemas | TArray<string> | List of schemas for the custom part. Leave it null or empty if there a no schemas. Note that the array will be copied, so you can modify it after setting it and it won't change the Xml part. |