Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Describes a full or partial selection of an IContentBlock associated with a ContentLocation.

    interface IContentBlockTargetData {
        anchorPoint: ContentBlockTargetAnchorPoint;
        charLength: number;
        charOffset: number;
        contentBlockId: number;
        readerDocumentIndexInSpine: number;
    }

    Properties

    The anchor point of the Locator relative the content block.

    charLength: number

    The number of characters selected in the ContentBlock by the ContentLocation.

    charOffset: number

    The character offset within the content block, corresponding to the start position of the ContentLocation.

    contentBlockId: number

    The id of the target ContentBlock.

    readerDocumentIndexInSpine: number

    The index of the ReaderDocument the ContentBlock is related to.