예제 #1
0
 public PdfGoToRemote(PdfFileSpec fileSpec, PdfObjectId objectId)
     : base(objectId)
 {
     this.fileSpec = fileSpec;
     this[PdfName.Names.Type] = PdfName.Names.Action;
     this[PdfName.Names.S] = PdfName.Names.GoToR;
     this[PdfName.Names.F] = fileSpec.GetReference();
     this[PdfName.Names.D] = DefaultDestination;
 }
예제 #2
0
 public PdfGoToRemote(PdfFileSpec fileSpec, PdfObjectId objectId)
     : base(objectId)
 {
     this.fileSpec            = fileSpec;
     this[PdfName.Names.Type] = PdfName.Names.Action;
     this[PdfName.Names.S]    = PdfName.Names.GoToR;
     this[PdfName.Names.F]    = fileSpec.GetReference();
     this[PdfName.Names.D]    = DefaultDestination;
 }