[toPdf(fileName) Saves the shape to a pdf file. Parameter Type Description fileName String the pdf file name with full path]