DocumentBuilder.document property. Gets or sets the [DocumentBuilder.document](./) object that this object is attached to....let doc = new aw . Document (); let builder = new aw . DocumentBuilder...builder . pageSetup . orientation = aw . Orientation . Landscape ; builder...