Unfortunately, nothing happens when I choose white for Rectangle Highlighter
Code: Select all
GdViewer1.AddRectangleHighlighterAnnotInteractive(Color.White);
Code: Select all
GdViewer1.AddRectangleHighlighterAnnotInteractive(Color.White);
Code: Select all
private void Form1_Load(object sender, EventArgs e)
{
GdPictureImaging _oGdPictureImaging = new GdPictureImaging();
GdPicturePDF _oGdPicturePDF = new GdPicturePDF();
PdfConformance conformance = PdfConformance.PDF_A_3u;
_oGdPicturePDF.NewPDF(conformance);
_oGdPicturePDF.SetMRCImageBackgroundResolution(-1);
_oGdPicturePDF.SetMRCPreserveSmoothing(true);
_oGdPicturePDF.EnableCompression(true);
_oGdPicturePDF.SetCompressionForBitonalImage(PdfCompression.PdfCompressionJBIG2);
_oGdPicturePDF.SetCompressionForColorImage(PdfCompression.PdfCompressionJPEG);
_oGdPicturePDF.SetJpegQuality(75);
var imageId = _oGdPictureImaging.CreateGdPictureImageFromFile("", true, false);
// ApplyImageFilters(ref imageId);
_oGdPicturePDF.AddImageFromGdPictureImage(imageId, PdfAdvancedImageCompression.PdfAdvancedImageCompressionColorDetection);
_oGdPictureImaging.ReleaseGdPictureImage(imageId);
gdViewer1.RenderGdPictureAnnots = true;
gdViewer1.SetAnnotationEditorMode(true);
gdViewer1.DisplayFromGdPicturePDF(_oGdPicturePDF);
gdViewer1.AddRectangleHighlighterAnnotInteractive(Color.White);
}
Users browsing this forum: Bing [Bot] and 1 guest