Q&A - Question Generation color ramp for grid layer using code Question DanK asked on October 13, 2017, keyword: Viewer / Editor Is there a way to automatically create a color ramp after the user opens a grid layer. i.e. using code not clicking on the leyend control. Thanks, Daniel Answers Artur Redzko (TatukGIS) replied December 08, 2016 Yes, you can use either the GenerateRamp or GenerateRampEx methods of TGIS_LayerPixel class. mulham.swaidan@ replied October 11, 2017 how can we assign a predefined ramp like those in the wizard dialog (i.e. Accents or BlueSteel) programmatically to a layer? Tomasz Kosinski (TatukGIS) replied October 13, 2017 Hi, http://docs.tatukgis.com/DK11/api:dk11:delphi:gislayerpixel.tgis_layerpixel.generateramp_tgis_color_tgis_color_tgis_color_double_double_53d50db0d3d136eb97ec8b43b05bd560 Sample: http://docs.tatukgis.com/DK11/samples:samples:viewshed There is no way to use exact predefined ramps. We will add it to requested feature list If you would like to answer the question please Sign In. * * Stay signed in on this computer Please review our recent Privacy Policy.If you have any questions or requests, please contact us. Forgotten password Rules The Questions and Answers (Q & A) is intended to provide a means of communication between TatukGIS customers. Licensed users (with active maintenance play) of TatukGIS products may contribute to the Q & A content. Read-only access is available to anyone. Keep the content positive and professional. Be courteous to others by posting information when a question or issue asked on the Q & A is answered or resolved by other means (such as with help from TatukGIS technical support). Offer others at least a hint how the posted question was answered or the issue was resolved. The Q & A is not a replacement for TatukGIS technical support. TatukGIS team may or may not regularly follow or contribute content.