I am trying to create an add-in the produce a PDF out of the current layer that we have on.
PDFFormat PDF = new PDFFormat()
{
OutputFileName = fileNamePdf,
Resolution = 300,
DoCompressVectorGraphics = true,
HasGeoRefInfo = true,
ImageCompression = ImageCompression.Adaptive,
ImageQuality = ImageQuality.Best,
LayersAndAttributes = LayersAndAttributes.None,
};
layout.Export(PDF);
everything is being exported correctly but i have in my layout the the north arrow added. that isn't being exported. when i use the export to pdf tool provided by default arcgis pro and check the option (output as an image) this is the only way the north arrow is showing.
i am using arcgis pro version: 3.1.41833
Please help.
Is your north arrow coming from a font? If so you might need to set embed fonts to true for it to be included in the export.