Click or drag to resize
WordDocumentOpenDataRegion Method
Opens the specified DataRegion and returns the DataRegion object.

Namespace: Aceoffix.WordReader
Assembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
Syntax
public DataRegion OpenDataRegion(
	string DataRegionName
)

Parameters

DataRegionName
Type: SystemString
The name of DataRegion.

Return Value

Type: DataRegion
Returns a DataRegion object.
Remarks
If the specified DataRegion exists, this method will return the DataRegion object.
Examples
The following code example shows how to call the OpenDataRegion method topic to get the value of the specified DataRegion.
Aceoffix.WordReader.WordDocument wd = new Aceoffix.WordReader.WordDocument();

string strCompanyName = wd.OpenDataRegion("CompanyName").Value;
string strProductName = wd.OpenDataRegion("ProductName").Value;

//Save the data to your database.

wd.Close(); //Required
See Also