public void drawForm ( final PDFormXObject form ) throws IOException { if ( inTextMode ) { throw new IllegalStateException ( "Error: drawForm is not allowed within a text block." ) ; } writeOperand ( resources . add ( form ) ) ; writeOperator ( ( byte ) ' ' , ( byte ) ' ' ) ; }
Draws the given Form XObject at the current location .