Search Results for

Show / Hide Table of Contents

# Class DocumentForAlignment

Specifies one of the documents and its import settings for alignment.

##### Inheritance

System.Object
DocumentForAlignment

##### Syntax

    public class DocumentForAlignment

### Fields

#### FileId

The guid of the file to be imported. The file has to be uploaded before calling invoking the alignment. IFileManagerService.BeginChunkedFileUpload and related operations. This guid is returned by IFileManagerService.BeginChunkedFileUpload.

##### Declaration

    public Guid FileId

##### Type

System.Guid

#### ImportConfigurationResourceAsString

The settings of the import in memoQ import filter XML format or memoQ resource former. This setting also determines the filter (txt, doc, etc.) to be used. Either this, or ImportConfigurationResourceId must specify the configuration.

##### Declaration

    public string ImportConfigurationResourceAsString

##### Type

System.String

#### ImportConfigurationResourceId

The identifier of the Filter Configuration resource published by memoQ Server which specifies the filter and the configuration for importing the document. This setting also determines the filter (txt, doc, etc.) to be used. Either this, or ImportConfigurationResourceAsString must specify the configuration.

##### Declaration

    public Guid? ImportConfigurationResourceId

##### Type

System.Nullable<System.Guid>

#### Language

The language of the document.

##### Declaration

    public string Language

##### Type

System.String

#### SegmentationRuleResourceId

The identifier of the Segmentation rule resource published by memoQ Server which specifies the segmentation rule for importing the document. If the value is not specified (null), the document will not be segmented. If Guid.Empty is specified, the langauge's default segmentation rule specified by the server will be used. If the value is a valid Guid, the segmentation rule identified by the Guid is used. The default is null/missing value, which means no segmentation.

##### Declaration

    public Guid? SegmentationRuleResourceId

##### Type

System.Nullable<System.Guid>