Ejemplo n.º 1
0
        /// <summary>
        /// Creates a new instance of the PDFDestination that represents a spcific location within the current PDF Document
        /// </summary>
        /// <param name="component"></param>
        /// <param name="fit"></param>
        /// <param name="extension">Any required label extension to guaruntee uniqueness of the destination within the documents name dictionary</param>
        public PDFDestination(Component component, OutlineFit fit, string extension)
        {
            if (null == component)
            {
                throw RecordAndRaise.ArgumentNull("component");
            }

            this.Component = component;
            this.Fit       = fit;
            this.Extension = extension;
        }
Ejemplo n.º 2
0
        //
        // .ctor(s)
        //

        #region public PDFDestination(PDFComponent component, OutlineFit fit)

        /// <summary>
        /// Creates a new instance of the PDFDestination that specifies a specific location within the current PDF document
        /// </summary>
        /// <param name="component"></param>
        /// <param name="fit"></param>
        public PDFDestination(Component component, OutlineFit fit)
            : this(component, fit, string.Empty)
        {
        }