AdoptWhiteSpace

Method of IDocumentData

Adopts white space in provided text to correspond the document settings

Return Value

JavaScript

var sTextOut = DocumentData.AdoptWhiteSpace(sTextIn);

Visual Basic Script

sTextOut = DocumentData.AdoptWhiteSpace sTextIn

C++

BSTR sTextOut;
HRESULT hr = DocumentData.AdoptWhiteSpace(sTextIn, &sTextOut);